package ModelLayer;


/**
 * Write a description of class Person here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Person
{
    public long id;
    public String name;
    public String address;
    public int postalCode;
    public String city;
    public String phone;

    public Person(long id , String name , String address , int postalCode , String city , String phone)
    {
        this.id=id;
        this.name=name;
        this.address=address;
        this.postalCode=postalCode;
        this.city=city;
        this.phone=phone;
    }
    public void setName(String newName)
    {
       name = newName;
    }
    public void setAddress(String newAddress)
    {
        address=newAddress;
    }
    public void setPostalCode(int newPostalCode)
    {
        postalCode=newPostalCode;
    }
    public void setID(long newID)
    {
        id=newID;
    }
    public void setCity(String newCity)
    {
        city=newCity;
    }
    public void setPhone(String newPhone)
    {
        phone=newPhone;
    }
    public String getPhone()
    {
        return phone;
    }
    public long getID()
    {
        return id;
    }
    public String getName()
    {
        return name;
    }
    public String getAddress()
    {
        return address;
    }
    public int getPostalCode()
    {
        return postalCode;
    }
    public String getCity()
    {
        return city;
    }
}
